package com.stone.business.workcard.pojo;

import javax.persistence.Column;
import javax.persistence.Embeddable;

@Embeddable
public class MapType implements java.io.Serializable{
	private String keyid;
	private String keyname;
	@Column(name="oc_dm")
	public String getKeyid() {
		return keyid;
	}	
	public void setKeyid(String keyid) {
		this.keyid = keyid;
	}
	@Column(name="oc_name")
	public String getKeyname() {
		return keyname;
	}
	public void setKeyname(String keyname) {
		this.keyname = keyname;
	}
	
	@Override
	public boolean equals(Object obj) {
		if (this == obj)
			return true;
		if (obj == null)
			return false;
		if (getClass() != obj.getClass())
			return false;
		MapType other = (MapType) obj;
		if (keyid != other.keyid)
			return false;
		if (keyname != other.keyname)
			return false;
		return true;
	}}

	


